package com.sky.service.admin;

import com.sky.dto.DishDTO;
import com.sky.dto.DishPageQueryDTO;
import com.sky.pojo.Dish;
import com.sky.result.PageResult;
import com.sky.result.Result;
import com.sky.vo.DishVO;

import java.util.List;

/**
 * @Description DishService
 * @Author zhengyuan&junjun
 * @Date 2024-10-02
 */
public interface DishService {
    PageResult page(DishPageQueryDTO dto);

     void update(DishDTO dto);


    DishVO getById(Long dishId);

    void insert(DishDTO dto);


    Result<String> deleterdish(List<Long> ids);


    void DishActivation(Long id, Integer status);


    List<Dish> list(Long categoryId);
}
